package com.edu.dao;


import com.edu.pojo.File;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface FileMapper {

    int addFile(File file);

    List<File> showAllFile();

    List<File> showNeedFile(@Param("state") int state);

    int deleteFile(@Param("id") int id);
}
